package com.ruiya.staging.goods.cas;

import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;

@EnableDiscoveryClient
@SpringBootApplication
public class GoodsCasApplication {
    public static ConfigurableApplicationContext context;
    public static ConfigurableListableBeanFactory config;

    public static void main(String[] args) {
        context = SpringApplication.run(GoodsCasApplication.class, args);
        config = context.getBeanFactory();
    }
}
